<%--
  Created by IntelliJ IDEA.
  User: 曾幼九
  Date: 2023/3/4
  Time: 17:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>JSP提取公共页面</title>
</head>
<body>


<%--  @include 会将多个页面合为一个页面  --%>

<%@include file="common/header.jsp"%>
<div>网站主体</div>
<%@include file="common/footer.jsp"%>

<hr>

<%--JSP标签
    jsp:include : 拼接页面, 本质还是多个页面
--%>

<jsp:include page="common/header.jsp"/>
<div>网站主体</div>
<jsp:include page="common/footer.jsp"/>

</body>
</html>
